package com.wanmait.wisdom.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanmait.wisdom.entity.Bulletin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* Created by Mybatis Generator 2024/05/14
*/
@Mapper
public interface BulletinMapper extends BaseMapper<Bulletin> {
    int deleteByPrimaryKey(Integer id);

    int insert(Bulletin record);

    int insertSelective(Bulletin record);

    Bulletin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Bulletin record);

    int updateByPrimaryKey(Bulletin record);

    List<Bulletin> list(@Param("title") String title, @Param("startTime") Date startTime, @Param("endTime") Date endTime);
}